﻿using System.ComponentModel.DataAnnotations;

namespace Web.Models.His
{
    public class GetUserValidate
    {
        /// <summary>
        /// 业务编号
        /// </summary>
        public string TranCode { get; set; } = "0005";

        /// <summary>
        /// 身份证号码
        /// </summary>
        [Required]
        [MinLength(18)]
        [MaxLength(18)]
        public string CardNo { get; set; }

        /// <summary>
        /// 社保卡号
        /// </summary>
        public string IdCardNo { get; set; } = "";

        /// <summary>
        /// 自助机ID
        /// </summary>
        [Required]
        public string UserId { get; set; }

        /// <summary>
        /// MAC地址
        /// </summary>
        [Required]
        public string MacAddress { get; set; }
    }
}
